package com.example.myapplication;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

public class RegistActivity extends AppCompatActivity {

    private TextView zc;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_regist);
        initView();
        initData();
        initEvent();


    }


    private void initView() {

        zc = findViewById(R.id.zc_tv);
    }
    private void initData() {
    }

    private void initEvent() {
       zc .setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent i = new Intent(RegistActivity.this, LoginActivity.class);

                startActivity(i);
            }
        });

    }

}
